package com.growthgate.bootcommon.controller;

import com.growthgate.bootcommon.common.base.BaseEntityController;
import com.growthgate.bootcommon.entity.School;
import com.growthgate.bootcommon.service.SchoolService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * SchoolController
 *
 * @author GrowthGate
 * @date 2020/2/26
 */
@Api(tags = "学校")
@RestController
@RequestMapping("/school")
public class SchoolController extends BaseEntityController<School, SchoolService> {

    @Autowired
    public SchoolController(SchoolService service) {
        super(service);
    }

}